package br.com.esporte.negocios.entidade.imp;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * 
 * @author Milton Domingues
 *
 */
@Entity
@Table(name = "dia_praticado")
@Inheritance(strategy = InheritanceType.JOINED)
public abstract class DiaPraticado extends Entidade{

	private static final long serialVersionUID = -4294922575226067706L;

	@Temporal(TemporalType.TIMESTAMP)
	private Date dataHoraInicio;

	@Temporal(TemporalType.TIMESTAMP)
	private Date dataHoraFim;

	public DiaPraticado() {

	}

	public Date getDataHoraFim() {
		return this.dataHoraFim;
	}

	public Date getDataHoraInicio() {
		return this.dataHoraInicio;
	}

	public void setDataHoraFim(Date dataHoraFim) {
		this.dataHoraFim = dataHoraFim;
	}

	public void setDataHoraInicio(Date dataHoraInicio) {
		this.dataHoraInicio = dataHoraInicio;
	}

}
